
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module golem.helpers.dataset</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="golem.html"><font color="#ffffff">golem</font></a>.<a href="golem.helpers.html"><font color="#ffffff">helpers</font></a>.dataset</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/opt/local/lib/python2.4/site-packages/golem/helpers/dataset.py">/opt/local/lib/python2.4/site-packages/golem/helpers/dataset.py</a></font></td></tr></table>
    <p><tt>#&nbsp;Part&nbsp;of&nbsp;pyGolem.&nbsp;See&nbsp;LICENSE&nbsp;in&nbsp;the&nbsp;root&nbsp;of&nbsp;your&nbsp;distribution&nbsp;for&nbsp;the&nbsp;license.<br>
#&nbsp;Andrew&nbsp;Walkingshaw&nbsp;&lt;andrew@lexical.org.uk&gt;</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="golem.helpers.generics.html">golem.helpers.generics</a><br>
<a href="golem.html">golem</a><br>
</td><td width="25%" valign=top><a href="pickle.html">pickle</a><br>
<a href="simplejson.html">simplejson</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="golem.helpers.generics.html#ns_dict_mixin">golem.helpers.generics.ns_dict_mixin</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="golem.helpers.dataset.html#dataset">dataset</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="golem.helpers.dataset.html#caching_dataset">caching_dataset</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="caching_dataset">class <strong>caching_dataset</strong></a>(<a href="golem.helpers.dataset.html#dataset">dataset</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="golem.helpers.dataset.html#caching_dataset">caching_dataset</a></dd>
<dd><a href="golem.helpers.dataset.html#dataset">dataset</a></dd>
<dd><a href="golem.helpers.generics.html#ns_dict_mixin">golem.helpers.generics.ns_dict_mixin</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="caching_dataset-__init__"><strong>__init__</strong></a>(self, cachefile, dbfile, dbformat, dictionaryfile, dictionarynamespace)</dt></dl>

<dl><dt><a name="caching_dataset-go"><strong>go</strong></a>(self, graphfile, output<font color="#909090">=&lt;open file '&lt;stdout&gt;', mode 'w' at 0x13068&gt;</font>, format<font color="#909090">='verbose'</font>, cache<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="caching_dataset-loadcache"><strong>loadcache</strong></a>(self)</dt></dl>

<dl><dt><a name="caching_dataset-savecache"><strong>savecache</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="golem.helpers.dataset.html#dataset">dataset</a>:<br>
<dl><dt><a name="caching_dataset-addfunction"><strong>addfunction</strong></a>(self, name, function, params)</dt></dl>

<dl><dt><a name="caching_dataset-dispatch"><strong>dispatch</strong></a>(self, format, cache<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="caching_dataset-makeplot"><strong>makeplot</strong></a>(self, format, graphfile)</dt></dl>

<dl><dt><a name="caching_dataset-register"><strong>register</strong></a>(self, xconcepts, yconcepts, xpredicate<font color="#909090">=None</font>, ypredicate<font color="#909090">=None</font>, xreducer<font color="#909090">=None</font>, yreducer<font color="#909090">=None</font>)</dt></dl>

<hr>
Data and other attributes inherited from <a href="golem.helpers.generics.html#ns_dict_mixin">golem.helpers.generics.ns_dict_mixin</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object at 0x23bda90&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'ns_dict_mixin' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>namespaced_dictionary</strong> = &lt;class 'golem.helpers.generics.namespaced_dictionary'&gt;</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="dataset">class <strong>dataset</strong></a>(<a href="golem.helpers.generics.html#ns_dict_mixin">golem.helpers.generics.ns_dict_mixin</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="golem.helpers.dataset.html#dataset">dataset</a></dd>
<dd><a href="golem.helpers.generics.html#ns_dict_mixin">golem.helpers.generics.ns_dict_mixin</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="dataset-__init__"><strong>__init__</strong></a>(self, dbfile, dbformat, dictionaryfile, dictionarynamespace)</dt></dl>

<dl><dt><a name="dataset-addfunction"><strong>addfunction</strong></a>(self, name, function, params)</dt></dl>

<dl><dt><a name="dataset-dispatch"><strong>dispatch</strong></a>(self, format, cache<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="dataset-go"><strong>go</strong></a>(self, graphfile, output<font color="#909090">=&lt;open file '&lt;stdout&gt;', mode 'w' at 0x13068&gt;</font>, format<font color="#909090">='verbose'</font>, cache<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="dataset-makeplot"><strong>makeplot</strong></a>(self, format, graphfile)</dt></dl>

<dl><dt><a name="dataset-register"><strong>register</strong></a>(self, xconcepts, yconcepts, xpredicate<font color="#909090">=None</font>, ypredicate<font color="#909090">=None</font>, xreducer<font color="#909090">=None</font>, yreducer<font color="#909090">=None</font>)</dt></dl>

<hr>
Data and other attributes inherited from <a href="golem.helpers.generics.html#ns_dict_mixin">golem.helpers.generics.ns_dict_mixin</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object at 0x23bdad0&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'ns_dict_mixin' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>namespaced_dictionary</strong> = &lt;class 'golem.helpers.generics.namespaced_dictionary'&gt;</dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-test"><strong>test</strong></a>()</dt></dl>
</td></tr></table>
</body></html>